/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assign2.bus.Impl;

import za.ac.cput.assign2.bus.Vehicle;

/**
 *
 * @author Sisanda
 */
public class Bus implements Vehicle
{
    private String dealer;
    private String regId;
  
    
    public Bus(String del,String id)
    {
         del = dealer;
         id = regId;
      
        
    }
    public Bus()
    {
        
    }
    public void setDealer(String dealer)
    {
        this.dealer = dealer;
    }
    public String getDealer()
    {
        return dealer;
    }
    public void setRegId(String regId)
    {
        this.regId = regId;
    }
    public String getRegId()
    {
        return regId;
    }
  

    @Override
    public int price(int pri) {
        return pri;
    }
    

   
    
}
